package com.woniuxy.carlife.carlifecomprehensiveweb.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @ClassName: Rescue
 *@Description: 道路救援记录模型
 * @author: yanzhongliang     
 * @date: 2021-04-05
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_rescue")
@ApiModel(value="Rescue对象")
public class Rescue implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "救援id",dataType = "Integer",required = true)
        @TableId(value = "rescue_id", type = IdType.AUTO)
      private Integer rescueId;

      @ApiModelProperty(value = "救援时间",dataType = "Date",required = true)
      @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
      private Date rescueTime;

      @ApiModelProperty(value = "救援的车主的车牌号",dataType = "String",required = true)
      private String rescueLicense;

      @ApiModelProperty(value = "救援的车主电话",dataType = "String",required = true)
      private String rescuePhone;

      @ApiModelProperty(value = "被救援的车主名",dataType = "String",required = true)
      private String rescueUserName;

      @ApiModelProperty(value = "救援现场图片",dataType = "String",required = true)
      private String rescueImage;

      @ApiModelProperty(value = "救援的地址",dataType = "String",required = true)
      private String rescueAddress;

      @ApiModelProperty(value = "救援收费",dataType = "BigDecimal",required = true)
      private BigDecimal rescuePrice;

      @ApiModelProperty(value = "被救援车型",dataType = "String",required = true)
      private String rescueVehicle;

      @ApiModelProperty(value = "救援门店名",dataType = "String",required = true)
      private String rescueStore;

      @ApiModelProperty(value = "救援门店电话",dataType = "String",required = true)
      private String rescueStorePhone;

      @ApiModelProperty(value = "救援地址精度",dataType = "BigDecimal",required = true)
      private BigDecimal rescuePrecision;

      @ApiModelProperty(value = "救援地址纬度",dataType = "BigDecimal",required = true)
      private BigDecimal rescueLatitude;


}
